<template>
  <van-tabbar v-model="active" route>
    <van-tabbar-item name="home" icon="home-o"  replace to="/">首页</van-tabbar-item>
    <van-tabbar-item name="cart" icon="shopping-cart-o"  replace to="/cart">购物车</van-tabbar-item>
    <van-tabbar-item name="mine" icon="friends-o"  replace to="/mine">我的</van-tabbar-item>
  </van-tabbar>
</template>

<script>
export default {
  data(){
    return{
      active:'home'
    }
  }
};
</script>

<style>
</style>